ChangeLog.md.php
<?php
/**
* Print a git log in a markdown list. You can alternatively use `@\system(git log ...)` command to print it however you'd like.
*
* @usage `@\template(git/ChangeLog)`
* @output Same as `git log --pretty=format:'- %h %d %s [%cr]' --abbrev-commit`
*
*/
echo "`git log` on ".date('r'). " \n";
system("git log --pretty=format:'- %h %d %s [%cr]' --abbrev-commit");